<HTML>
<HEAD>
<meta charset="UTF-8">
<title>CustomerSession.getInstance - stripe</title>
<link rel="stylesheet" href="../../../style.css">
</HEAD>
<BODY>
<a href="../../index.html">stripe</a>&nbsp;/&nbsp;<a href="../index.html">com.stripe.android</a>&nbsp;/&nbsp;<a href="index.html">CustomerSession</a>&nbsp;/&nbsp;<a href="./get-instance.html">getInstance</a><br/>
<br/>
<h1>getInstance</h1>
<a name="com.stripe.android.CustomerSession.Companion$getInstance()"></a>
<code><span class="identifier">@JvmStatic</span> <span class="keyword">fun </span><span class="identifier">getInstance</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><a href="index.html"><span class="identifier">CustomerSession</span></a></code>
<p>Gets the singleton instance of <a href="index.html">CustomerSession</a>. If the session has not been
initialized, this will throw a <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-runtime-exception/index.html">RuntimeException</a>.</p>
<p><strong>Return</strong><br/>
the singleton <a href="index.html">CustomerSession</a> instance.</p>
</BODY>
</HTML>
